package com.deep.deepenterpise.model.to.gas;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author xyz
 * @version 1.0
 * @title DrAddRefillAfterTo
 * @description TODO 暂时写死
 * @create 2024/4/25 14:38
 */
@Data
public class DrAddRefillAfterTo {
    private Integer drId;

    @NotBlank(message = "气瓶出厂编号不能为空")
    private String drGasId;

    @NotBlank(message = "充后检查时间不能为空")
    private String drCheckTime;

    @NotBlank(message = "检查人员不能为空")
    private String drCheckPerson = "充装工";

    @NotNull(message = "请录入检查结果<充装量在规定范围内>")
    @Max(value = 1, message = "请录入正确的信息")
    @Min(value = 0, message = "请录入正确的信息")
    private Integer drCzl = 1;

    @NotNull(message = "请录入检查结果<瓶阀及其与瓶口连接的密封良好>")
    @Max(value = 1, message = "请录入正确的信息")
    @Min(value = 0, message = "请录入正确的信息")
    private Integer drMf = 1;

    @NotNull(message = "请录入检查结果<瓶体未出现鼓包变形或泄露等严重缺陷>")
    @Max(value = 1, message = "请录入正确的信息")
    @Min(value = 0, message = "请录入正确的信息")
    private Integer drGb = 1;

    @NotNull(message = "请录入检查结果<瓶体温度没有异常升高的迹象>")
    @Max(value = 1, message = "请录入正确的信息")
    @Min(value = 0, message = "请录入正确的信息")
    private Integer drYc = 1;

    @NotNull(message = "请录入检查结果<气瓶粘贴警示标签和充装标签>")
    @Max(value = 1, message = "请录入正确的信息")
    @Min(value = 0, message = "请录入正确的信息")
    private Integer drTag = 1;

    @NotNull(message = "请录入检查结果<充装质量是否合格>")
    @Max(value = 1, message = "请录入正确的信息")
    @Min(value = 0, message = "请录入正确的信息")
    private Integer drZl = 1;

    private Long drCreateTime;
}
